<?php
	class GLCCI {
		const DIE_MSG = 'script killed by --> ';
		
		public static function dump($data, $die = false) {
			if(is_array($data)) {
				echo '<pre>';print_r($data);echo '</pre>';
			} else {
				var_dump($data);
			}
			if($die) die(self::DIE_MSG . __METHOD__);
		}
		
		public static function normalizeFiN($field_name, $year) {
			$field_name = str_replace(' ','_',$field_name);
			return "{$field_name}-{$year}";
		}
	}